package com.study.service;


import com.study.pojo.Employee;

import java.util.List;

public interface EmployeeService {
    //查询所有员工
    List<Employee> getAll();

    //通过id查询员工
    Employee getEmployeeById(int id);

    //通过id删除员工
    int delete(int id);

    //增加一个员工
    int save(Employee employee);

    //更新员工
    int updateEmpById(Employee employee);
}
